from fake_useragent import UserAgent


def get_headers_init_user_agent():
    ua = UserAgent()
    user_agent = ua.random
    headers = {
        'User-Agent': user_agent,
    }
    return headers


def get_headers_init_referer(referer):
    headers = {
        'referer': referer
    }
    return headers